package com.cskaoyan.mall.service;

import com.cskaoyan.mall.bean.Category;
import com.cskaoyan.mall.bean.vo.CategoryL1VO;
import com.cskaoyan.mall.bean.vo.CategoryLevelOne;
import com.cskaoyan.mall.bean.vo.CategoryVO;
import com.cskaoyan.mall.bean.vo.GoodsCategoryVO;

import java.util.List;

/**
 * @Author: dyj
 * @Date: 2021/1/10 19:18
 * @Description
 */
public interface CategoryService {
    List<CategoryLevelOne> selectAll();

    List<CategoryL1VO> selectLevelOne();

    CategoryVO insertSelective(Category category);

    void updateCategory(Category category);

    void deleteCategory(CategoryLevelOne categoryLevelOne);

    List<GoodsCategoryVO> queryAllGoodsCategory();

}
